package com.tz.se.day01;

import java.util.Scanner;

public class HelloWord {

	public static void main(String[] args) {
		// 创建用户输入对象
		Scanner sc = new Scanner(System.in);
		// 获取用户输入字符串
		String str = sc.nextLine();
		// 打印
		System.out.println(str);
		// 资源释放
		sc.close();
		//返回Boolean类型
		
		System.out.println(9<0);

		int i =9,j=12,k=9;
		boolean a =  i==k;
		boolean b =  9<0;
		//布尔运算
		System.out.println(a);
		//比较运算
		System.out.println(a||b);
		
		if (i==9) {
			System.out.println("woshi9");
		} else {
			System.out.println("woshi9");
		}
		
	}
}
